package com.xinsoft.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售出库分页列表
 */
@Data
public class ScmSaleOutstockListVo {
    @ApiModelProperty(value = "主键ID", notes = "")
    private Integer id;

    /**
     * 出库时间
     */
    @Excel(name = "出库时间",orderNum = "0")
    private Date outstockTime;

    /**
     * 销售出库单号
     */
    @Excel(name = "出库单号",orderNum = "1")
    private String saleOutstockNo;

    /**
     * 客户id
     */
    private Integer clientId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称",orderNum = "2")
    private String clientName;

    /**
     * 销售员
     */
    private Integer salesPersonId;

    /**
     * 销售员
     */
    private String salesPersonName;

    /**
     * 销售部门
     */
    private String salesPersonDept;

    /**
     * 出库员
     */
    private Integer outstockPersonId;

    /**
     * 出库员
     */
    private String outstockPersonName;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    private Integer auditStatus;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    @Excel(name = "审核状态",orderNum = "14")
    private String auditStatusName;




    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码",orderNum = "3")
    private String materialNo;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称",orderNum = "4")
    private String materialName;

    /**
     * 规格属性
     */
    @Excel(name = "规格属性",orderNum = "5")
    private String materialSpecific;

    /**
     * 计量单位
     */
    private Integer mainUnit;

    /**
     * 计量单位
     */
    @Excel(name = "主单位",orderNum = "6")
    private String mainUnitName;

    /**
     * 辅助单位
     */
    private Integer assistUom;


    /**
     * 出库数量
     */
    @Excel(name = "出库数量",orderNum = "7")
    private BigDecimal outstockNum;

    /**
     * 辅助单位出库数量
     */
    private BigDecimal assistOutstockNum;

    /**
     * 辅助单位
     */
    @Excel(name = "辅助单位",orderNum = "8")
    private String assistUomName;

    /**
     * 销售单价
     */
    @Excel(name = "销售单价",orderNum = "9")
    private BigDecimal saleUnitPrice;

    /**
     * 销售总价
     */
    @Excel(name = "销售总价",orderNum = "10")
    private BigDecimal totalPrice;

    /**
     * 库存批次
     */
    @Excel(name = "库存批次",orderNum = "11")
    private String batch;

    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 仓库
     */
    @Excel(name = "仓库",orderNum = "12")
    private String warehouseName;

    /**
     * 库位ID
     */
    private Integer warehItemId;

    /**
     * 库位
     */
    @Excel(name = "库位",orderNum = "13")
    private String warehItemName;

    /**
     * 源单主键
     */
    private Integer sourceId;

    /**
     * 源单类型
     */
    private Integer sourceType;

    /**
     * 源单类型
     */
    @Excel(name = "源单类型",orderNum = "15")
    private String sourceTypeName;

    /**
     * 源单编码
     */
    @Excel(name = "源单编码",orderNum = "16")
    private String sourceCode;

    /**
     * 主单位可用数量
     */
    private BigDecimal primaryUnitCount;

    /**
     * 辅助单位可用数量
     */
    private BigDecimal auxiliaryUnitCount;
}
